/*
delay_12usX(uint x);
delay_ms(uint x);
*/
#ifndef __DELAY_H__
#define __DELAY_H__


delay_12usX(uint x)
{
	while(x--);
}
delay_us(uint x)
{
	while(x--);
}
delay_ms(uint x)
{
	uint i,j;
	for(j=0;j<x;j++)
		for(i=0;i<122;i++);	
}
/*
main()
{	 
	while(1)
	{
		
		delay_ms(1);	   //1.10135
		delay_ms(1);	   //1.09917
		delay_ms(10);	   //10.85612
		delay_ms(100);	   //108.41472
		delay_ms(1000);	   //1084.00499


		delay12us(1);	   //27.13
		delay12us(1);		// 27.13
		delay12us(10);		//115.01
		delay12us(1000);	 //9 786.24


	}
}
*/
